import request from '@/utils/request'

// 查询系统集成平台日志列表
export function listSiplog(query) {
  return request({
    url: '/service/SipPorxyService',
    method: 'post',
    params: {type:'RE_SIP_LOGLIST'},
    data: query
  })
}

// 查询系统集成平台日志详细
export function getSiplog(pkLog) {
  return request({
    url: '/nccloud/system/siplog/' + pkLog,
    method: 'get'
  })
}

// 新增系统集成平台日志
export function addSiplog(data) {
  return request({
    url: '/nccloud/system/siplog',
    method: 'post',
    data: data
  })
}

// 修改系统集成平台日志
export function updateSiplog(data) {
  return request({
    url: '/nccloud/system/siplog',
    method: 'put',
    data: data
  })
}

// 删除系统集成平台日志
export function delSiplog(pkLog) {
  return request({
    url: '/nccloud/system/siplog/' + pkLog,
    method: 'delete'
  })
}

// 导出系统集成平台日志
export function exportSiplog(query) {
  return request({
    url: '/nccloud/system/siplog/export',
    method: 'get',
    data: query
  })
}
